[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
O_RD
Function
Set the open for read access flag in a FCREATE/FOPEN/FAPPEND statement.
Value
0 = 0b = 0o = 0h
Remarks
Files may be opened for read, write or combined read/write access.
You should only use the access you need to allow other processes to
open files at the same time in multitasking and networked environments.
This constant will allow your PPE to read from a file without writing
any information out to it.
Example
FOPEN 1,"FILE.DAT",O_RD,S_DN ' Open for read access
FOR i = 1 TO 10
FGET 1,s
PRINTLN s
NEXT
FCLOSE 1
See Also:
O_RW
O_WR
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson